package atguigu.dao;

import atguigu.pojo.Account;

import java.sql.SQLException;
import java.util.List;

public interface AccountDao {
    /**
     * 保存账户
     */
    int insertAccount(Account account) throws SQLException;
    /**
     * 查询所有的账户account表数据
     */
    List<Account>queryAccount()throws SQLException;
}
